import { post, get } from '@/utils/request'

const addStudent = params => post('/student_manage/addStudent', params)
const updateStudent = params => post('/student_manage/updateStudent', params)
const delStudent = params => post('/student_manage/delStudent', params)
const listStudent = () => get('/student_manage/listStudent')
const listStudentExamScore = query => get('/student_manage/listStudentExamScore', query)
const errKnowledgeAnalyze = query => get('/student_manage/errKnowledgeAnalyze', query)

export {
  addStudent,
  updateStudent,
  delStudent,
  listStudent,
  listStudentExamScore,errKnowledgeAnalyze
}
